package com.szc.demo01.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("t_book")
@Deprecated
public class TBook {
    @TableId(value = "id",type = IdType.AUTO)
    private int id;
    private String name;
    private String author;
    private BigDecimal price;
    private int sales;
    private int stock;
}
